←Select platform

GetValue<T>(DicomElement,T,GetValueDelegate) Method

Summary

Returns the value of a DICOM element

Syntax

C#
VB
C++
Public Overloads Function GetValue(Of T)( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal defaultValue As T, _ 
   ByVal getValueDelegate As Leadtools.Dicom.GetValueDelegate _ 
) As T 

Parameters

element
an item in the data set

defaultValue
a value of type T that is returned if the actual value cannot be retrieved.

getValueDelegate
an optional delegate that converts that extracted data to any type

Type Parameters

T
specifies the type of the value to return

Return Value

a value of type T that is the value of the DICOM element

Remarks

For information on this method, see GetValue.

Example

For an example, refer to GetValueDelegate.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly